Release 10.1A: OpenEdge Development:
Translation Manager


Adjusting database field justification

Many OpenEdge applications use text labels from the OpenEdge databases. The fields in the database might be left-justified. Left justification might work well on the user interface of the source language but might not work well on the user-interface after translation.

To avoid layout problems after translation, use the TRIM string attribute to trim the database fields. If you have multiple fields to trim, run the following 4GL code to automatically set the TRIM attribute on all database labels:

FOR EACH _field WHERE NOT _field._field-name BEGINS "_":U
  AND_field._label-SA = ?: 
    _field._label-SA = ""T:U. 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095